FROM ubuntu_nginx_and_node:latest
# 设置工作目录
# COPY . /app
COPY ./dist /app/dist
COPY ./nuxt /app/nuxt
COPY ./server/app-linux /app/server/
COPY ./config.yaml /app/server/
COPY ./start.sh /app
COPY ./nginx.conf /app
WORKDIR /app
RUN chmod +x ./start.sh
# 暴露端口
EXPOSE 80 8888 3000
# 启动脚本
ENTRYPOINT ["./start.sh"]